package com.cloud.lan.entity.base.exceptions;

/**
 * 统一异常捕获
 * @author ErKang
 * @date Created in 2021/12/6 23:25
 * @title BaseException.java
 * Department: Product development
 */
public class LanResponseException extends RuntimeException {

    private String code;
    private String msg;

    public LanResponseException(String code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}
